load fisheriris

O1 = NaiveBayes.fit(meas,species);
C1 = O1.predict(meas);
cMat1 = confusionmat(species,C1) 


O2 = NaiveBayes.fit(meas,species,'dist',...
{'normal','kernel','normal','kernel'}); 
C2 = O2.predict(meas);
cMat2 = confusionmat(species,C2);
